<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 28644
  Date: 2022/7/30
  Time: 9:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    body{
        /* 设置背景渐变 */
        background-image: linear-gradient(to left,
        #9c88ff,#3cadeb);
        display: flex;
        justify-content: center;
    }
    .a{
        position:relative;
        top: 100px;
        width: 1100px;
        height: 550px;
        box-shadow: 0 5px 15px rgba(0,0,0,.8);
        display: flex;
    }
    .b{
        width: 1100px;
        height: 550px;
    }
    table tr td {
        text-align: center;
    }
    .inputstyle{
        width: 90px;
    }
    <%@ include file="/pages/common/a_style.jsp"%>
</style>
<body>
<div class="a">

    <div class="b">

        <table style="margin: 0 auto; width: 1100px;">
            <p style="text-align: center; color: red">${msg}</p>
            <tr>
                <td>用户名</td>
                <td>车牌</td>
                <td>品牌</td>
                <td>模型</td>
                <td>颜色</td>
                <td>类型</td>
                <td>排量</td>
                <td>租借时间</td>
                <td>归还时间</td>
                <td>金额</td>
                <c:if test="${not empty zus}">
                <c:forEach begin="0" end="${zus.size()-1}" var="i">
                    <tr>
                        <td>${zus[i].username}</td>
                        <td>${zus[i].car_number}</td>
                        <td>${zus[i].brand_name}</td>
                        <td>${zus[i].model}</td>
                        <td>${zus[i].color}</td>
                        <td>${zus[i].category_name}</td>
                        <td>${zus[i].t_comments}</td>
                        <td>${zus[i].start_date}</td>
                        <td>${zus[i].return_date}</td>
                        <td>${zus[i].payment}</td>
                    </tr>
                </c:forEach>
            </c:if>
            </tr>
        </table>
    </div>
</div>
</body>
</html>
